import Vue from "vue";
import App from "./App.vue"; 
import Vant from 'vant';
import 'vant/lib/index.css';
import "./assets/style/reset.less";
import "./assets/style/common.less";
import router from "./router/index";
import store from './store/index';
// 移动端适配
import 'amfe-flexible'

Vue.use(Vant);  
Vue.filter('fMoney', (money)=> {
  let num = money/100;
  return num.toFixed(2);
})

// 全局混入
import mixin from './utils/mixin';
Vue.mixin(mixin); 

import $http from './utils/http';
Vue.prototype.$http = $http;
 
Vue.config.productionTip = false;
new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
